import Layout from '@/layouts'

/**
 * 异步:动态路由  客户管理
 */
const SystemRoute = {
  path: '/system',
  component: Layout,
  name: '系统管理',
  icon: 'baseconfig',
  meta: { 
		title: '系统管理' ,
		icon: 'baseconfig'
  },
  authCode: 'system',
  children: [{
	path: 'generator',
	icon: 'code-generator',
	component: () => import('@/views/modules/system/generator/list'),
	name: '代码生成器',
	meta: { 
		title: '代码生成器',
		icon: 'code-generator'
	},
	authCode: 'system:generator',
	},{
	path: 'serve',
	icon: 'server-monitoring',
	component: () => import('@/views/modules/system/serve/index'),
	name: '服务器监控',
	meta: { 
		title: '服务器监控',
		icon: 'server-monitoring'
	},
	authCode: 'system:serve',
	},
	{
	path: 'http://www.90hyscxy.com',
	icon: 'swagger',
	name: '聚合接口',
	meta: { 
		title: '聚合接口',
		icon: 'swagger'
	},
	authCode: 'system:swagger',
	}
  ]
}
export default SystemRoute
